<include file="substation/public@header" />
</head>
<body>
	<div class="layui-fluid">
		<div class="layui-row">

			<div class="layui-page-header">
				<div class="layui-card">
					<div class="layui-page-header-content">
						<div class="layui-card-body">
							<div class="layui-ui-page-header-title" >
								城市列表
							</div>
						</div>
						<div class="layui-tab layui-tab-brief">
							<ul class="layui-tab-title">
								<li class="layui-this"><a>列表</a></li>
							</ul>
						</div>
					</div>
				</div>
			</div>

			<div class="layui-page-content">
				<div class="layui-card">
					<div class="layui-card-body">
						<form class="layui-form" method="get" action="{:url('city/index')}">
							<div class="layui-form-item layuiadmin-card-text" style="margin-bottom: 0;">

								<div class="layui-inline">
									<div class="layui-input-inline">
										<input class="layui-input" type="text" name="keyword" style="width: 200px;" value="{:input('request.keyword')}" placeholder="请输入城市名">
									</div>
								</div>

								<div class="layui-inline">
									<div class="layui-input-inline">
										<input type="submit" class="layui-btn btn-primary" value="搜索" />
										<a class="layui-btn layui-btn-danger btn-danger" href="{:url('city/index')}">清空</a>
									</div>
								</div>
							</div>

						</form>
					</div>
				</div>
			</div>

			<div class="layui-page-content">

				<div class="layui-card">
					<div class="layui-card-body">
						<form method="post" class="js-ajax-form" action="{:url('city/listOrder')}" method="post">
							<table class="layui-table table-hover table-bordered table-list" id="menus-table" lay-even="" lay-size="lg">
								<thead>
									<tr>
										<th>ID</th>
										<th>省份</th>
										<th>城市</th>
										<th align="center">{:lang('ACTIONS')}</th>
									</tr>
								</thead>
								<tbody>

									<foreach name="list" item="vo">
										<tr>
											<td>{$vo['id']}</td>
											<td>{$vo['pname']}</td>
											<td>{$vo['name']}</td>
											<td>
												<a class="layui-bo layui-bo-small layui-bo-checked"  href="{:url('city/edit',['id'=>$vo['id']])}">{:lang('EDIT')}</a>
												
											</td>
										</tr>
									</foreach>

								</tbody>
							</table>
							<div class="pagination">{$page}</div>
						</form>
					</div>

				</div>
			</div>

		</div>

	</div>
	<include file="substation/public@script"/>
</body>
</html>